#include<bits/stdc++.h>
#define pld(n) printf("%lld", n)
typedef long long int ll;
using namespace std;
int ans;
void solve()
{
	auto lp_year = [](int& year)->int {if ((year % 4 == 0 && year % 100 != 0) || (year % 400 == 0)) return 366; else return 365; };
	ll sum=0;
	for(int i=1950;i<2013;i++) sum+=lp_year(i);
	pld(sum/7);puts("");
}